package com.erp.warehouse.clouderp_warehouse.mapper.inventory;

import com.erp.warehouse.clouderp_warehouse.pojo.inventory.InventorySerial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 86188
* @description 针对表【inventory_serial】的数据库操作Mapper
* @createDate 2025-10-31 15:34:58
* @Entity .pojo.InventorySerial
*/
@Mapper
public interface InventorySerialMapper {
    //直接插入即可，每个商品对应一个序列号，在同一家公司下同一个商品序列号保证唯一
    int insert(@Param("list") List<InventorySerial> serialList, @Param("companyId") String companyId);
    //查询某个仓库中商品的所有序列号
    List<InventorySerial> selectSerialList(Map<String, Object> params);

}




